package com.hfkh.keyun.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.io.Serializable;
import java.time.LocalDateTime;
@Getter
@Setter
@NoArgsConstructor
@TableName("tb_evaluate")
public class Evaluate implements Serializable {
 private static final long serialVersionUID = 1L;
 @TableId(type = IdType.AUTO)
 private Integer id;//id
 private Integer userId;//用户表id
 @TableField(exist = false)
 private User user;//用户对象
 private Integer courseId;//课程表id
 @TableField(exist = false)
 private Course course;//课程对象
 private String content;//评价内容
 private Double starCount;//评分星级
 private LocalDateTime createDate;//创建时间
 //逻辑删除注解

 @TableLogic
 private Integer deleteFlags;
}
